/*容器*/
.container {
    color: #fff;
    display: grid;
    grid-template-columns: 60px 300px minmax(500px, auto);
    grid-template-rows: 60px minmax(500px, auto) 60px;
    border: 1px solid #ddd;
    box-sizing: border-box;
    height: 100vh;

    .item-1 {
        grid-row-start: 1;
        grid-row-end: 4;

        .hede {
            margin-top: 10px;
        }
    }

    /* item-1 等同于 item-2*/
    /*中间栏 item-2*/
    .item-2 {
        grid-row: 1 / span 3;
        border-left: 1px solid #ddd;
        border-right: 1px solid #ddd;
        display: grid;
        grid-template-rows: 60px 1fr 60px;
    }

    .item-3 {
        display: grid;
        grid-template-columns: auto 30px;
        justify-content: space-between;
    }

    .item-4 {
        overflow: auto;
        border-top: 1px solid #ddd;
        border-bottom: 1px solid #ddd;
    }

}

/*头像*/
.hede {
    img {
        width: 40px;
        height: 40px;
        border-radius: 2px;
    }
}


.tog {
    div {
        margin-top: 16px;
        padding: 4px;
    }
}

.iconfont {
    font-size: 22px;
    color: #fff;
}


.input {
    /*display: flex;*/
    padding: 10px;
}


.lists {
    overflow: auto;

    box-sizing: border-box;

    &:-webkit-scrollbar {
        display: none;
    }



    .list {
        padding: 10px;
        display: flex;
        /*border-bottom: 1px solid #fff;*/

        &:hover,
        &.at {
            background: #222;
        }


        .title {
            text-align: left;
            width: 100%;
            font-size: 14px;
            margin-left: 10px;
        }

        .name {
            word-break: break-all; //强制换行
            text-overflow: ellipsis; //显示为省略号
            display: -webkit-box; //对象作为伸缩盒子模型显示
            -webkit-box-orient: vertical; //设置或检索伸缩盒对象的子元素的排列方式
            -webkit-line-clamp: 1; //显示行数## 标题文字 ##
            overflow: hidden;

        }

        .time {
            font-size: 10px;
            color: #aaa;
        }

        .info {
            margin-top: 4px;
            font-size: 12px;
            color: #999;
        }
    }
}

.atvtname {
    padding: 20px;
}

.more {
    color: #fff;
    padding-right: 20px
}


.item-4 {
    display: grid;
    grid-template-columns: auto;
    grid-template-rows: auto;
    justify-items: center;
    align-items: center;
    padding: 20px;
}

.videoBox {
    width: 100%;
    height: auto;
    max-height: 100%;
    background: #000;
}

.item-5{
    text-align: right;
    padding: 20px;
}
.mybg{
    background: rgb(50,54,57);
}
.dialogIconfont{
    font-size: 60px;
}
.dialogBody{
   width: 70%;
   margin-left:auto;
   margin-right: auto; 
}
.mediaType{
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
    div{
        flex: 1;
    }
    .ICONFONT{
        display: inline-block;
        width: 100px;
        height:100px;
        margin-left:auto;
        margin-right: auto; 
        border-radius: 50%;
        background: rgb(40,44,47);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .is-checked{
        color: #409eff;
        .ICONFONT{
            background: transparent;
            border: 1px solid #409eff;
        }
    }
    .NAME{
        margin-top: 20px;
        font-size: 18px;
    }
    .declare{
        width: 80%;
        font-size: 12px;
        text-align: left;
    }
    margin-bottom:30px;
}
.getDisplayMedia{
    margin-top: 30px;
    .dialogIconfont{
        font-size: 100px;
    }
    display: flex; 
    justify-content: center;
    align-items: center;
    text-align: center;
    div{
        flex: 1;
    }
    .ICONFONT{
        display: inline-block;
        width: 200px;
        height:140px;
        margin-left:auto;
        margin-right: auto; 
        /*border-radius: 50%;*/
        background: rgb(40,44,47);
        display: flex;
        justify-content: center;
        align-items: center;
    }
    .is-checked{
        color: #409eff;
        .ICONFONT{
            background: transparent;
            border: 1px solid #409eff;
        }
    }
    .NAME{
        margin-top: 10px;
        margin-bottom: 10px;
        font-size: 16px;
    }
    .declare{
        margin-left:auto;
        margin-right: auto; 
        width: 80%;
        font-size: 12px;
        text-align: left;
    }
}

.getUserMedia,.getUserAudio,.getUserFilm,.getUserHeadset{
    padding-top: 50px;
    /*display: flex;*/
    /*justify-content: center;*/
    /*align-items: center;*/
    text-align: center;
    div{
        margin-top: 10px;
    }
    .NAME{
        font-size: 16px;
    }
    .declare{
        font-size: 12px;
    }
}
.getUserFilm,.getUserHeadset{
    margin-left:auto;
    margin-right: auto; 
    width: 50%;
    text-align: left;
    label{
        text-align: center;
        color: #409eff;
    }
}